module.exports.loginAuth = function (req,res,call) {
    if(req.cookies && req.cookies.u_id){
        if(call) call(req.cookies.u_id);
    }else{
        res.render('login/login');
    }
}